package com.rp.news.util.extent;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * 短信配置
 */
@Component
@PropertySource("classpath:aliyuncms.properties")
@ConfigurationProperties(prefix = "aliyun")
@Data
public class AliyunProperties implements Serializable {
    private String accessKeyId;
    private String accessKeySecret;
}
